package homework;

/**
 * @Author Stringzhua
 * @Date 2024/1/14 12:19
 * description:作业2:使用char类型,分别保存\n \t \r \\  1 2 3等字符,并打印输出
 */
public class work02 {
    public static void main(String[] args) {
        char c1='\n';//换行
        char c2='\t';//制表位
        char c3='\r';//回车
        char c4='\\';//输出\
        char c5='1';
        char c6='2';
        char c7='3';
        System.out.println(c1);
        System.out.println(c2);
        System.out.println(c3);
        System.out.println(c4);
        System.out.println(c5);
        System.out.println(c6);
        System.out.println(c7);
    }
}
